<template>
	<view>
		<view class="nav_bar" :style="`background: ${bg};`">
			<uni-nav-bar :title="title" :color="color" :backgroundColor="bg" leftIcon="left" @clickLeft="$util.back()"
				:border="false"></uni-nav-bar>
		</view>
		<view class="nav_box"></view>
	</view>
</template>

<script>
	export default {
		name: 'navBar',
		props: {
			title: {
				type: String,
				default: '',
			},
			bg: {
				type: String,
				default: '#FFF',
			},
			color: {
				type: String,
				default: '#333',
			}
		},
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>